package ooday02;

public class StudentTest {
    public static void main(String[] args) {
        //利用构造方法赋值，传参
        Student zs = new Student("张三",25,"廊坊","jsd2302","001");
//        //访问Student的成员变量，与构造方法作用相同
//        zs.name = "张三";
//        zs.age = 25;
//        zs.address = "廊坊";
//        zs.stuId = "220";
        //调用方法
        zs.eat();
        zs.sleep();
        zs.sayHi();
        zs.study();
    }
}
